<!DOCTYPE html>
<html style="font-size: 23.4375px;">
<head>
    <include file="./public/header.html"/>
    <link href="/style/css/bankcord.css" rel="stylesheet">
</head>


<body style="font-size: 21.7589px;">
<div id="app">
    <div id="shadow" style="display: none;"></div>
    <header class="top"><span style="display: none;">加载中...</span> <span>银行卡管理</span> <!---->
        <div class="iconfont back" style="display: none;"></div>
        <a href="{:U('Users/securityCenter')}" class="iconfont back" style=""></a> </header>

    <div data-v-73d9efcd="" data="" class="main manageBankcard" s="[object Object]">
        <foreach name="arra" item="v">
        <div data-v-73d9efcd="" class="innerWrap">
            <div data-v-73d9efcd="" class="surperise">
                <div data-v-73d9efcd="" class="wrap" >
                    <img data-v-73d9efcd="" src="http://imagess-google.com/system/common/bank/<?php if($v['bankid']=='1'){echo 'ICBC';}
									elseif($v['bankid']=='2'){echo 'CCB';}
									elseif($v['bankid']=='3'){echo 'ABC';}
									elseif($v['bankid']=='4'){echo 'CMBC';}
									elseif($v['bankid']=='5'){echo 'CMB';}
									elseif($v['bankid']=='6'){echo 'BCM';}
									elseif($v['bankid']=='7'){echo 'BOC';}
									elseif($v['bankid']=='8'){echo 'PSBC';}
									elseif($v['bankid']=='9'){echo 'CITIC';}
									elseif($v['bankid']=='10'){echo 'CIB';}
									elseif($v['bankid']=='11'){echo 'HXBANK';}
									elseif($v['bankid']=='12'){echo 'SPDB';}
									elseif($v['bankid']=='13'){echo 'GDB';}
									elseif($v['bankid']=='14'){echo 'SPABANK';}
									elseif($v['bankid']=='15'){echo 'CEB';}
									elseif($v['bankid']=='16'){echo 'CRCC';};?>.png" class="fl">
                    <div data-v-73d9efcd="" class="text" style="background-color: white;height: 50px">
                        <strong data-v-73d9efcd="">
                            <?php if($v["bankid"]=='1'){echo "工商银行";}
									        elseif($v["bankid"]=='2'){echo "建设银行";}
                                            elseif($v["bankid"]=='3'){echo "农业银行";}
                                            elseif($v["bankid"]=='4'){echo "民生银行";}
                                            elseif($v["bankid"]=='5'){echo "招商银行";}
                                            elseif($v["bankid"]=='6'){echo "交通银行";}
                                            elseif($v["bankid"]=='7'){echo "中国银行";}
                                            elseif($v["bankid"]=='8'){echo "邮政储蓄";}
                                            elseif($v["bankid"]=='9'){echo "中信银行";}
                                            elseif($v["bankid"]=='10'){echo "兴业银行";}
                                            elseif($v["bankid"]=='11'){echo "华夏银行";}
                                            elseif($v["bankid"]=='12'){echo "浦发银行";}
                                            elseif($v["bankid"]=='13'){echo "广发银行";}
                                            elseif($v["bankid"]=='14'){echo "平安银行";}
                                            elseif($v["bankid"]=='15'){echo "光大银行";}
                                            elseif($v["bankid"]=='16'){echo "农商银行";};?>
                        </strong>
                        <p data-v-73d9efcd="">尾号： <?php echo "********".substr(trim($v['card']),-4);?></p>
                    </div>
                    <div data-v-73d9efcd="" class="fr">
                        <a data-v-73d9efcd="">未锁定</a>
                        <a data-v-73d9efcd="" href="{:U('Users/manageBankcard_upd',array('id'=>$v['id']))}" class="modify">修改</a>
                    </div>
                </div>
            </div>
        </div>
        </foreach>
        <?php if($count==5){?>
        <?php }else{ ?>
            <div data-v-73d9efcd="" class="BTN">
                <a data-v-73d9efcd="" href="{:U('Users/manageBankcard')}" style="height: 50px">添加银行卡</a>
            </div>

        <?php } ?>
        <div data-v-73d9efcd="" class="tips">
            <?php if(!empty($arra)){?>
            <p>
                <i></i>您已绑定<?php echo $count; ?>张银行卡，一共可以绑定5张银行卡。为了您的资金安全，成功提现的银行卡会自动锁定，无法删除和修改。
            </p>
            <?php }else{ ?>
            <p>
                <i></i>温馨提示：您尚未绑定银行卡，一共可以绑定5张银行卡。
            </p>
            <?php } ?>
        </div>

    </div>

</div>
</body>
</html>
